#include "thread.h"

int recDir(char *buf,dirQueue_t *dir){
   char *name=strtok(buf,"/");
   enDirQueue(dir,name);
   
   while(1){
       name=strtok(NULL,"/");
       if(!name){
           break;
       }
       enDirQueue(dir,name);
   }
}
